package com.fypg.module.blooddonation.api.dto.bloodDonationDetail;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 医疗卡信息
 */
@Data
@Schema(description = "医疗卡信息")
public class MedicalCardInfo {

    @Schema(description = "患者姓名", example = "张三")
    private String patientName;

    @Schema(description = "证件类型", example = "111")
    @NotNull(message = "证件类型不能为空")
    private Integer cardType;

    @Schema(description = "证件号码", example = "440602197010241553")
    @NotBlank(message = "证件号码不能为空")
    private String cardNO;
}
